package com.zhangxiaolong.service;

import com.zhangxiaolong.mapper.DeptMapper;
import com.zhangxiaolong.pojo.Dept;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface DeptService {

    //查询全部部门信息
    List<Dept> list();

    //根据id删除员工
    void deleteById(Integer id);

    void add(Dept dept);

    Dept findById(Integer id);

    void update(Dept dept);
}
